import axios from 'axios'

const reqGetHomeBanners = () => {
  return axios({
    method: 'GET',
    url: '/api/home/banners'
  })
}
const reqGettouristColumn = () => {
  return axios({
    method: 'get',
    url: '/api/home/touristColumn'
  })
}

const reqGetArticle = ({ type, limit, page }) => {
  return axios({
    method: 'get',
    url: `/api/home/travelnotelist?type=${type}&limit=${limit}&page=${page}`
  })
}
export { reqGetHomeBanners, reqGettouristColumn, reqGetArticle }
